package com.oopnet.template.test.springdi;

import org.springframework.stereotype.Component;

@Component("myJay")
public class JayChopin implements CompactDisc{
	
	private String title = "依然范特西";
	private String songName = "夜曲";
	
		
	@Override
	public void play() {
		System.out.println("Play "+this.title+"'s "+this.songName+" !");
	}
}
